﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Architecture.Domian.Entity
{
    /// <summary>
    /// 权限信息类
    /// </summary>
    [Table("pression_info")]
    public class RoleMenuRelation
    {
        /// <summary>
        /// 权限Id
        /// </summary>
        [Key]
        public int PressionId { get; set; }
        /// <summary>
        /// 菜单Id
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { get; set; }
    }
}
